//
// Created by unreal on 2024/8/19.
//

#include "HouseDirector.h"

HouseDirector::HouseDirector(HouseBuilder *builder) : houseBuilder(builder) {
}

House * HouseDirector::construct() {
    houseBuilder->builderPart1();
    houseBuilder->builderPart2();
    houseBuilder->builderPart3();
    return houseBuilder->getHouse();
}
